package de.herberlin.webapp.core;

import org.apache.commons.logging.*;
/**
 * AppException.java
 *
 * Created on 17. Oktober 2007, 02:00
 *
 * @author herberlin
 */
public class AppException extends RuntimeException{
    
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Log logger=LogFactory.getLog(getClass());
    
    /** Creates a new instance of AppException */
    public AppException() {
        logger.error(this);
    }
    public AppException(Exception e) {
        super(e);
        logger.error(e,e);
    }
    public AppException(String  t) {
        super(t);
        logger.error(t);
    }
    public AppException(String t,Exception e) {
        super(t,e);
        logger.error(t,e);
    }
    
}
